/**
 * Copyright &copy; 2012-2016 <a href="https://github.com//jeesite">JeeSite</a> All rights reserved.
 */
package com.ls.lserp.modules.order.entity;
import java.math.BigDecimal;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;
import com.ls.lserp.common.utils.excel.annotation.ExcelField;
import com.ls.lserp.modules.common.entity.UploadFile;

/**
 * 单表生成Entity
 * @author 
 * @version 2016-10-10
 */
public class DesignOption extends DataEntity<DesignOption> {
	
	private static final long serialVersionUID = 1L;

	// 外建（款式类别选项：a_dict_p.item_value)
	private String styleCategoryCD;
	
	// CD款式类型名称
	private String styleCategoryCDName;
	
	// 原父项item值
	private String oldItemValue;
	
	// 项目值
	private String itemCD;
	
	// 项目类别CD (类别：款式定制，辅料，配料，刺绣)
	private String itemCategoryCD;
	
	// 父项值
	private String parentItemValue;
	
	// 项目值
	private String itemValue;
	
	// 排序
	private Long itemSort;
	
	// 中文名字
	private String itemNameCN;
	
	// 中文名字缩写
	private String itemShortNameCN;
	
	// 选项中文名称
	private String optionNameCN;
	
	// 选项英文名称
	private String optionNameEN;
	
	//名称 根据语言来选择中文英文
	private String itemName;
	
	// 英文名字
	private String itemNameEN;
	
	// 英文名字缩写
	private String itemShortNameEN;
	
	// 日文名字
	private String itemNameJP;
	
	// 日文名字缩写
	private String itemShortNameJP;

	// 项目费用（款式子项）
	private BigDecimal itemCost;
	
	// 外键（文件ID:a_upload_file_p）
	private Long fileID;
	
	// 必须项目(是否必须（0-非必须，1-必须。） 默认 0-非必须)
	private Long haveToFlag;
	
	// 是否编辑  0:非编辑，1：编辑
	private String updateFlag;
	
	
	private UploadFile  uploadFile;
	
	
	private String optionValue;
	
	private List<DesignOption>  designOptionSubList;
	
	// 删除index
	private int delIndex;

	private String filePath;
	

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public int getDelIndex() {
        return delIndex;
    }

    public void setDelIndex(int delIndex) {
        this.delIndex = delIndex;
    }
    @ExcelField(title = "项目类别", align = 1, sort = 10)
    public String getItemCategoryCD() {
        return itemCategoryCD;
    }

    public void setItemCategoryCD(String itemCategoryCD) {
        this.itemCategoryCD = itemCategoryCD;
    }
    @ExcelField(title = "款式类别", align = 1, sort = 1)
    public String getStyleCategoryCD() {
        return styleCategoryCD;
    }

    public void setStyleCategoryCD(String styleCategoryCD) {
        this.styleCategoryCD = styleCategoryCD;
    }
    @ExcelField(title = "项目Code", align = 1, sort = 15)
    public String getItemCD() {
        return itemCD;
    }

    public void setItemCD(String itemCD) {
        this.itemCD = itemCD;
    }
    
    public Long getItemSort() {
        return itemSort;
    }

    public void setItemSort(Long itemSort) {
        this.itemSort = itemSort;
    }
    @ExcelField(title = "中文全称", align = 1, sort = 25)
    public String getItemNameCN() {
        return itemNameCN;
    }

    public void setItemNameCN(String itemNameCN) {
        this.itemNameCN = itemNameCN;
    }
    public String getItemShortNameCN() {
        return itemShortNameCN;
    }

    public void setItemShortNameCN(String itemShortNameCN) {
        this.itemShortNameCN = itemShortNameCN;
    }
    @ExcelField(title = "英文全称", align = 1, sort = 30)
    public String getItemNameEN() {
        return itemNameEN;
    }

    public void setItemNameEN(String itemNameEN) {
        this.itemNameEN = itemNameEN;
    }

    public String getItemShortNameEN() {
        return itemShortNameEN;
    }

    public void setItemShortNameEN(String itemShortNameEN) {
        this.itemShortNameEN = itemShortNameEN;
    }
	
    @ExcelField(title = "日文全称", align = 1, sort = 35)
	public String getItemNameJP() {
		return itemNameJP;
	}

	public void setItemNameJP(String itemNameJP) {
		this.itemNameJP = itemNameJP;
	}

	public String getItemShortNameJP() {
		return itemShortNameJP;
	}

	public void setItemShortNameJP(String itemShortNameJP) {
		this.itemShortNameJP = itemShortNameJP;
	}
    
    @ExcelField(title = "子项项目费用", align = 1, sort = 45)
    public BigDecimal getItemCost() {
        return itemCost;
    }

    public void setItemCost(BigDecimal itemCost) {
        this.itemCost = itemCost;
    }
    @ExcelField(title = "子项图片Id", align = 1, sort = 50)
    public Long getFileID() {
        return fileID;
    }

    public void setFileID(Long fileID) {
        this.fileID = fileID;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    @ExcelField(title = "项目值", align = 1, sort = 20)
    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }
    @ExcelField(title = "必须项目(0:非必须,1:必须；)", align = 1, sort = 40)
    public Long getHaveToFlag() {
        return haveToFlag;
    }

    public void setHaveToFlag(Long haveToFlag) {
        this.haveToFlag = haveToFlag;
    }

    public String getUpdateFlag() {
        return updateFlag;
    }

    public void setUpdateFlag(String updateFlag) {
        this.updateFlag = updateFlag;
    }

    public String getParentItemValue() {
        return parentItemValue;
    }

    public void setParentItemValue(String parentItemValue) {
        this.parentItemValue = parentItemValue;
    }

    public UploadFile getUploadFile() {
        return uploadFile;
    }

    public void setUploadFile(UploadFile uploadFile) {
        this.uploadFile = uploadFile;
    }

    public String getOldItemValue() {
        return oldItemValue;
    }

    public void setOldItemValue(String oldItemValue) {
        this.oldItemValue = oldItemValue;
    }

    public String getStyleCategoryCDName() {
        return styleCategoryCDName;
    }

    public void setStyleCategoryCDName(String styleCategoryCDName) {
        this.styleCategoryCDName = styleCategoryCDName;
    }

    public List<DesignOption> getDesignOptionSubList() {
        return designOptionSubList;
    }

    public void setDesignOptionSubList(List<DesignOption> designOptionSubList) {
        this.designOptionSubList = designOptionSubList;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getOptionNameCN() {
        return optionNameCN;
    }

    public void setOptionNameCN(String optionNameCN) {
        this.optionNameCN = optionNameCN;
    }

    public String getOptionNameEN() {
        return optionNameEN;
    }

    public void setOptionNameEN(String optionNameEN) {
        this.optionNameEN = optionNameEN;
    }

    public String getOptionValue() {
        return optionValue;
    }

    public void setOptionValue(String optionValue) {
        this.optionValue = optionValue;
    }
    
    
    

}